<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<div class="t_bar">项目绩效目标</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="performances1" cellspacing="1">

	<tr class="t_tr">
		<td align="center" width="20%" >指标类别</td>

		<td class="TblHead" align="center" width="30%" >明细指标</td>
		<td class="TblHead" align="center" width="30%">预期绩效目标</td>
	</tr>

	<tr>
		<td align="center"  rowspan="4">论文与论著</td>
		<td align="left" >1、发表论文总数（篇）</td>
		<td align='center'><input name="proposal/lunwen" type="text"
			class=" input_text maxlength:20"
			id="product_lunwen" label="论文与论著-->发表论文总篇数"
			style="text-align: right; "
			value="<x:out select="$xmlData/data/proposal/lunwen"/>"
			onfocus="InitInput.setNumber(this,10,0,0)" /></td>
	</tr>

	<tr>
		<td align="left" >2、其中SCI收录（篇）</td>
		<td align='center'><input name="proposal/sci" type="text"
			class="input_text maxlength:20"
			id="product_sci" style="text-align: right; "
			value="<x:out select="$xmlData/data/proposal/sci" />"
			onfocus="InitInput.setNumber(this,10,0,0)" label="论文与论著-->SCI收录篇数"
			 />
		</td>
	</tr>

	<tr>
		<td align="left" >3、其中EI收录（篇）</td>
		<td align='center'><input name="proposal/ei" type="text"
			class="input_text maxlength:20"
			id="product_ei" style="text-align: right;"
			value="<x:out select="$xmlData/data/proposal/ei" />"
			onfocus="InitInput.setNumber(this,10,0,0)" label="论文与论著-->EI收录篇数" /></td>
	</tr>

	<tr>
		<td align="left" >4、出版专著（万字）</td>
		<td align='center'><input type="text" id="kjzz" name="proposal/cbzz"
			class="input_css " label="论文与论著-->出版科技著作"
			onfocus="InitInput.setNumber(this,7,4,2)" style="text-align: right;"
			value="<x:out select = "$xmlData/data/proposal/cbzz" />" /></td>
	</tr>

	<tr>
		<td align="center" style="" rowspan="8">知识产权</td>

		<td align="left" style="" >1、专利申请数（项）</td>

		<td align="center">
			<input type="text" style="text-align: right;" name="performances/performance1" id="performance_1" value="<x:out select="$xmlData/data/performances/performance1"/>"
			  label="知识产权-->1、专利申请数（项）"
			onfocus="InitInput.setNumber(this,7,0,0)"  class=" valueGreatEqual:performance_1:performance1_forcompare"
			/>
			<input type="hidden" style="text-align: right;" name="performances/performance1_forcompare" id="performance1_forcompare" value="<x:out select="$xmlData/data/performances/performance1_forcompare"/>"
			  label="知识产权-->1、专利申请数（项）-->发明专利与实用新型之和"
			onfocus="InitInput.setNumber(this,7,0,0)"
			/>
		</td>

	</tr>

	<tr>
		<td align="left" style="" >（1）发明专利</td>

		<td align="center">
			<input type="text" style="text-align: right;" name="performances/performance2" id="performance_2" value="<x:out select="$xmlData/data/performances/performance2" />"
			 class ="" label="知识产权-->1、专利申请数（项）-->（1）发明专利"
			onfocus="InitInput.setNumber(this,7,0,0)" onchange="countNum('','performance_2,performance_3','performance1_forcompare');"
			/>
		</td>
	</tr>

	<tr>
		<td align="left" style="" >（2）实用新型</td>

		<td align="center">
			<input type="text" style="text-align: right;" name="performances/performance3" id="performance_3" value="<x:out select="$xmlData/data/performances/performance3" />"
			 class ="" label="知识产权-->1、专利申请数（项）-->（2）实用新型"
			onfocus="InitInput.setNumber(this,7,0,0)" onchange="countNum('','performance_2,performance_3','performance1_forcompare');"
			/>

		</td>
	</tr>

	<tr>
		<td align="left" style="" >2、专利授权数（项）</td>

		<td align="center">
			<input type="text" style="text-align: right;" name="performances/performance5" id="performance_5" value="<x:out select="$xmlData/data/performances/performance5" />"
			  label=">知识产权-->2、专利授权数（项）"
			onfocus="InitInput.setNumber(this,7,0,0)" class=" valueGreatEqual:performance_5:performance5_forcompare"
			/>
			<input type="hidden" style="text-align: right;" name="performances/performance5_forcompare" id="performance5_forcompare" value="<x:out select="$xmlData/data/performances/performance5_forcompare" />"
			  label=">知识产权-->2、专利授权数（项）-->发明专利与实用新型之和"
			onfocus="InitInput.setNumber(this,7,0,0)" />
		</td>
	</tr>

	<tr>
		<td align="left" style="" >（1）发明专利</td>

		<td align="center">
			<input type="text" style="text-align: right;" name="performances/performance6" id="performance_6" value="<x:out select="$xmlData/data/performances/performance6" />"
			 class ="" label="知识产权-->2、专利授权数（项）-->（1）发明专利"
			onfocus="InitInput.setNumber(this,7,0,0)"  onchange="countNum('','performance_6,performance_7','performance5_forcompare');"
			/>
		</td>
	</tr>

	<tr>
		<td align="left" style="" >（2）实用新型</td>

		<td align="center">
			<input type="text" style="text-align: right;" name="performances/performance7" id="performance_7" value="<x:out select="$xmlData/data/performances/performance7" />"
			 class ="" label="知识产权-->2、专利授权数（项）-->（2）实用新型"
			onfocus="InitInput.setNumber(this,7,0,0)"   onchange="countNum('','performance_6,performance_7','performance5_forcompare');"
			/>
		</td>
	</tr>

	<tr>
		<td align="left" style="" >3、软件著作权授权数（项）</td>

		<td align="center">
			<input type="text" style="text-align: right;" name="performances/performance9" id="performance_9" value="<x:out select="$xmlData/data/performances/performance9" />"
			 class ="" label="知识产权-->3、软件著作权授权数（项）"
			onfocus="InitInput.setNumber(this,7,0,0)" />
		</td>
	</tr>
	<tr>
		<td align="left" style="" >4、其他知识产权（项）</td>

		<td align="center">
			<input type="text" style="text-align: right;" name="performances/performance35" id="performance_35" value="<x:out select="$xmlData/data/performances/performance35" />"
			 class ="" label="知识产权-->16、其他知识产权（项）"
			onfocus="InitInput.setNumber(this,7,0,0)" />
		</td>
	</tr>

	<tr>
		<td align="center" rowspan="4">争取国家科技项目</td>
		<td >1、争取国家自然科学基金项目数（项）</td>
		<td align="center">
			<input type="text" style="text-align: right;" name="performances/performance40" id="performance_40" value="<x:out select="$xmlData/data/performances/performance40" />"
			 class ="" label="争取国家科技项目-->1、争取国家自然科学基金项目数（项）"
			  onfocus="InitInput.setNumber(this,7,0,0)"
			 />
		</td>
	</tr>

	<tr>
		<td align="left" style="" >2、争取国家自然科学基金项目总经费（万元）</td>
		<td align="center">
			<input type="text" style="text-align: right;" name="performances/performance41" id="performance_41" value="<x:out select="$xmlData/data/performances/performance41" />"
			 class ="" label="争取国家科技项目-->2、争取国家自然科学基金项目总经费（万元）"
			onfocus="InitInput.setNumber(this,7,2,2)" />
		</td>
	</tr>

	<tr>
		<td align="left" style="" >3、争取国家其他科技计划项目数（项）</td>
		<td align="center">
			<input type="text" style="text-align: right;" name="performances/performance42" id="performance_42" value="<x:out select="$xmlData/data/performances/performance42" />"
			 class ="" label="争取国家科技项目-->3、争取国家其他科技计划项目数（项）"
			  onfocus="InitInput.setNumber(this,7,0,0)"
			 />
		</td>
	</tr>
	<tr>
		<td align="left" style="" >4、争取国家其他科技计划项目总经费（万元）</td>
		<td align="center">
			<input type="text" style="text-align: right;" name="performances/performance43" id="performance_43" value="<x:out select="$xmlData/data/performances/performance43" />"
			 class ="" label="争取国家科技项目-->4、争取国家其他科技计划项目总经费（万元）"
			onfocus="InitInput.setNumber(this,7,2,2)" />
		</td>
	</tr>

	<tr>
		<td align="center" rowspan="3">学术奖励</td>
		<td >1、国家级学术奖励（项）</td>
		<td align="center">
			<input type="text" style="text-align: right;" name="performances/academic_awards" id="academic_awards" value="<x:out select="$xmlData/data/performances/academic_awards" />"
			 class ="" label="学术奖励-->1、国家级学术奖励（项）"
			  onfocus="InitInput.setNumber(this,7,0,0)"
			 />
		</td>
	</tr>

	<tr>
		<td >2、省部级学术奖励（项）</td>
		<td align="center">
			<input type="text" style="text-align: right;" name="performances/academic_awards2" id="academic_awards2" value="<x:out select="$xmlData/data/performances/academic_awards2" />"
			 class ="" label="学术奖励-->2、省部级学术奖励（项）"
			  onfocus="InitInput.setNumber(this,7,0,0)"
			 />
		</td>
	</tr>

	<tr>
		<td >3、其他级别学术奖励（项）</td>
		<td align="center">
			<input type="text" style="text-align: right;" name="performances/academic_awards3" id="academic_awards3" value="<x:out select="$xmlData/data/performances/academic_awards3" />"
			 class ="" label="学术奖励-->3、其他级别学术奖励（项）"
			  onfocus="InitInput.setNumber(this,7,0,0)"
			 />
		</td>
	</tr>

	<tr>
		<td align="center" style="" rowspan="6">人才引育</td>

		<td align="left" style="" >1、引进高层次人才（人）</td>
		<td align="center">
			<input type="text" style="text-align: right;" name="performances/performance48" id="performance_48" value="<x:out select="$xmlData/data/performances/performance48" />"
			 label="人才引育-->1、引进高层次人才（人）"
			onfocus="InitInput.setNumber(this,7,0,0)"  class=" valueGreatEqual:performance_48:performance48_forcompare"
			/>
			<input type="hidden" style="text-align: right;" name="performances/performance48_forcompare" id="performance48_forcompare" value="<x:out select="$xmlData/data/performances/performance48_forcompare" />"
			 label="人才引育-->1、引进高层次人才-->博士/博士后、院士之和"
			onfocus="InitInput.setNumber(this,7,0,0)" />
		</td>
	</tr>

	<tr>
		<td align="left" style="" >（1）博士/博士后</td>
		<td align="center">
			<input type="text" style="text-align: right;" name="performances/performance49" id="performance_49" value="<x:out select="$xmlData/data/performances/performance49" />"
			 class ="" label="人才引育-->1、引进高层次人才-->（1）博士/博士后"
			onfocus="InitInput.setNumber(this,7,0,0)" onchange="countNum('','performance_49,performance_100,performance_51','performance48_forcompare');"
			/>
		</td>
	</tr>

	<tr>
		<td align="left" style="" >（2）院士</td>
		<td align="center">
			<input type="text" style="text-align: right;" name="performances/performance100" id="performance_100" value="<x:out select="$xmlData/data/performances/performance100" />"
			 class ="" label="人才引育-->1、引进高层次人才-->（2）院士"
			onfocus="InitInput.setNumber(this,7,0,0)" onchange="countNum('','performance_49,performance_100,performance_51','performance48_forcompare');"
			/>
		</td>
	</tr>



	<tr>
		<td align="left" style="" >2、培养高层次人才（人）</td>
		<td align="center">
			<input type="text" style="text-align: right;" name="performances/performance54" id="performance_54" value="<x:out select="$xmlData/data/performances/performance54" />"
			  label="人才引育-->2、培养高层次人才（人）"
			onfocus="InitInput.setNumber(this,7,0,0)" class=" valueGreatEqual:performance_54:performance54_forcompare"
			/>
			<input type="hidden" style="text-align: right;" name="performances/performance54_forcompare" id="performance54_forcompare" value="<x:out select="$xmlData/data/performances/performance54_forcompare" />"
			  label="人才引育-->2、培养高层次人才-->博士/博士后与硕士之和"
			onfocus="InitInput.setNumber(this,7,0,0)" />
		</td>
	</tr>

	<tr>
		<td align="left" style="" >（1）博士/博士后</td>
		<td align="center">
			<input type="text" style="text-align: right;" name="performances/performance55" id="performance_55" value="<x:out select="$xmlData/data/performances/performance55" />"
			 class ="" label="人才引育-->2、培养高层次人才-->（1）博士/博士后"
			onfocus="InitInput.setNumber(this,7,0,0)" onchange="countNum('','performance_55,performance_56','performance54_forcompare');"
			/>
		</td>
	</tr>

	<tr>
		<td align="left" style="" >（2）硕士</td>
		<td align="center">
			<input type="text" style="text-align: right;" name="performances/performance56" id="performance_56" value="<x:out select="$xmlData/data/performances/performance56" />"
			 class ="" label="人才引育-->2、培养高层次人才-->（2）硕士"
			onfocus="InitInput.setNumber(this,7,0,0)"  onchange="countNum('','performance_55,performance_56','performance54_forcompare');"
			/>
		</td>
	</tr>

	<tr>
		<td align="center" rowspan="2">成果转化</td>
		<td >1、推广转化科技成果数（个）</td>
		<td align="center">
			<input type="text" style="text-align: right;"
			name="performances/achievements" class="" label="成果转化->1、推广转化科技成果数"
			value="<x:out select="$xmlData/data/performances/achievements" />"
			onfocus="InitInput.setNumber(this,7,0,0)" />
		</td>
	</tr>

	<tr>
		<td >2、建立产学研实体数（个）</td>
		<td align="center">
			<input type="text" style="text-align: right; "
			name="performances/achievements2" class="" label="成果转化->2、建立产学研实体数"
			value="<x:out select="$xmlData/data/performances/achievements2" />"
			onfocus="InitInput.setNumber(this,7,0,0)" />
		</td>
	</tr>
	<tr>
		<td align="center" rowspan="4">科技报告</td>
		<td >1、立项报告（份）</td>
		<td align="center">
			<input type="text" style="text-align: right;"
				   name="performances/science_report1" class="" label="科技报告->1、立项报告"
				   value="<x:out select="$xmlData/data/performances/science_report1" />"
				   onfocus="InitInput.setNumber(this,7,0,0)" />
		</td>
	</tr>

	<tr>
		<td >2、专题报告（份）</td>
		<td align="center">
			<input type="text" style="text-align: right; "
				   name="performances/science_report2" class="" label="科技报告->2、专题报告"
				   value="<x:out select="$xmlData/data/performances/science_report2" />"
				   onfocus="InitInput.setNumber(this,7,0,0)" />
		</td>
	</tr>
	<tr>
		<td >3、进展报告（份）</td>
		<td align="center">
			<input type="text" style="text-align: right; "
				   name="performances/science_report3" class="" label="科技报告->3、进展报告"
				   value="<x:out select="$xmlData/data/performances/science_report3" />"
				   onfocus="InitInput.setNumber(this,7,0,0)" />
		</td>
	</tr>
	<tr>
		<td >4、最终报告（份）</td>
		<td align="center">
			<input type="text" style="text-align: right; "
				   id="science_report4"
				   name="performances/science_report4" class="required valueGENum:science_report4:1" label="科技报告->4、最终报告"
				   value="<x:out select="$xmlData/data/performances/science_report4" />"
				   onfocus="InitInput.setNumber(this,7,0,0)" />
		</td>
	</tr>
</table>


<script type="text/javascript">
	$(function() {
		if($("#science_report4").val() == null || $("#science_report4").val() ==''){
			$("#science_report4").val('1');
		}
	});
function countNum(idStart, countStr, totalStr) {

	var indexs = countStr.split(",");
	var count = 0;
	for ( var i = 0; i < indexs.length; i++) {
		var fund = $("#" + idStart + indexs[i]).val();
		if (!$.isNumeric(fund))
			fund = "0";
		count = count + parseInt(fund,10);
	}

	// count=formatNumber(count.toString(),9,4,4);//格式化金额
	$("#" + idStart + totalStr).val(count);
}

</script>